<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../css/api.css"/>
    <link rel="stylesheet" type="text/css" href="../css/common.css"/>
    <style>
        html, body {
            background-color: #dfdede !important;
        }

        li {
            position: relative;
            padding: 3px 10px;
            border-bottom: 1px solid #d4d3d3;
            background-size: 10px;
            background-repeat: no-repeat;
            background-position: 78%;
        }

        li:first-child {
            height: 46px;
            display: -webkit-box;
            -webkit-box-align: center;
        }

        .liActive {
            background-color: #3ABA63;
        }

        li a {
            display: block;
            padding: 10px 30px;
            background-size: 20px;
            background-repeat: no-repeat;
            background-position: left;
        }

    </style>
</head>
<body>
<nav>
    <ul>
        <li tapmode="liActive" onclick="abc('frame1.html');"><a class="home active">首页</a></li>
        <li tapmode="liActive" onclick=""><a class="my">九块邮</a></li>
        <li class="arrowD " tapmode="liActive" onclick=""><a class="nearby">十九元包邮</a></li>
        <li class="arrowD" tapmode="liActive" onclick=""><a class="domestic">文章中心</a></li>
        <li tapmode="liActive" onclick=""><a class="maldives">关于我</a></li>
        <li tapmode="liActive" onclick=""><a class="Europe">频道5</a></li>
    </ul>
</nav>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script>
apiready = function () {
    api.setStatusBarStyle({
        style: 'dark'
    });
    $api.fixIos7Bar($api.dom('nav'));
};

function abc(el){
	api.openFrame({
    name: 'page2',
    url: el,
    rect: {x: 0, y: 0, w: 'auto', h: 'auto'},
    pageParam: {name: 'test'},
    bounces: true,
    bgColor: 'rgba(0,0,0,0)',
    vScrollBarEnabled:true,
    hScrollBarEnabled:true
});
}
</script>
</html>